import{d as m,u as _,a as d,c,b as p,r as h,e as s,f as t,t as a,g as r,F as f,h as g,n as v,i as x,o as n,j as b,k as y,l as B,m as F,_ as N}from"./index-7e43c2c2.js";import{N as k}from"./NoteDisplay-7723449f.js";const D={class:"m-4"},E={class:"mb-10"},P={class:"text-4xl font-bold mt-2"},w={class:"opacity-50"},A={class:"text-lg"},V={class:"font-bold flex gap-2"},H={class:"opacity-50"},L=t("div",{class:"flex-auto"},null,-1),S={key:0,class:"border-gray-400/50 mb-8"},T=m({__name:"PresenterPrint",setup(j){_(`
@page {
  size: A4;
  margin-top: 1.5cm;
  margin-bottom: 1cm;
}
* {
  -webkit-print-color-adjust: exact;
}
html,
html body,
html #app,
html #page-root {
  height: auto;
  overflow: auto !important;
}
`),d({title:`Notes - ${c.title}`});const i=p(()=>h.map(o=>{var l;return(l=o.meta)==null?void 0:l.slide}).filter(o=>o!==void 0&&o.noteHTML!==""));return(o,l)=>(n(),s("div",{id:"page-root",style:v(r(x))},[t("div",D,[t("div",E,[t("h1",P,a(r(c).title),1),t("div",w,a(new Date().toLocaleString()),1)]),(n(!0),s(f,null,g(i.value,(e,u)=>(n(),s("div",{key:u,class:"flex flex-col gap-4 break-inside-avoid-page"},[t("div",null,[t("h2",A,[t("div",V,[t("div",H,a(e==null?void 0:e.no)+"/"+a(r(b)),1),y(" "+a(e==null?void 0:e.title)+" ",1),L])]),B(k,{"note-html":e.noteHTML,class:"max-w-full"},null,8,["note-html"])]),u<i.value.length-1?(n(),s("hr",S)):F("v-if",!0)]))),128))])],4))}}),M=N(T,[["__file","H:/mbj/中国地质大学（北京）/我的课程/现代管理科学理论/node_modules/@slidev/client/internals/PresenterPrint.vue"]]);export{M as default};
